package com.bachelor.community.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class Tag {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    /**
     * 当前标签下的话题个数
     */
    private Integer count;
    private String icon;
    private String description;
}
